package com.gh.ggkt.activity.remote;

import com.atguigu.ggkt.model.user.UserInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("service-user")
public interface UserInfoFeignClient {

    @GetMapping("/admin/user/user-info/inner/getById/{id}")
    public UserInfo getById(@PathVariable Long id);
}
